
export function isValidPhoneNumber(phoneNumber) {
    return /^1[3-9]\d{9}$/.test(phoneNumber);
}


export function currentTime (){
    let d = new Date()
    let year = d.getFullYear()
    let month = d.getMonth() + 1
    let day = d.getDate()
    let hour = d.getHours()
    let minute = d.getMinutes()
    let second = d.getSeconds()
    let time = year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':' + second
    return time
  }